namespace DotNetNuke.Services.Search
{
    using DotNetNuke.Framework;
    using System;

    public abstract class IndexingProvider
    {
        private static IndexingProvider objProvider = null;

        static IndexingProvider()
        {
            CreateProvider();
        }

        private static void CreateProvider()
        {
            objProvider = (IndexingProvider) Reflection.CreateObject("searchIndex");
        }

        public abstract SearchItemInfoCollection GetSearchIndexItems(int PortalID);
        public static IndexingProvider Instance()
        {
            return objProvider;
        }
    }
}

